﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace ElementumForever.Interfaces
{
    interface IComponent
    {
        void OnRegister(BaseActor parent);
        void OnUnregister();
        bool Enable {get;set; }
        bool HasParent { get; }

         void OnUpdate(GameTime gameTime);
         void OnDraw(GameTime gameTime, SpriteBatch spriteBatch);

    }
}
